Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bindings and address issues with net interface type #43

Merged
merged 2 commits into from
Dec 27, 2023

Conversation

pronebird
Copy link
Contributor

@pronebird pronebird commented Aug 2, 2023

This PR updates bindings and moves Bridge and IrDA types to static variables since bridge is not defined in public headers and IrDA is deprecated since macOS 12.


This change is Reviewable

@pronebird pronebird changed the title Update bindings and issues with address net interface type Update bindings and address issues with net interface type Aug 2, 2023
Copy link
Member

@dlon dlon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Do you think it's necessary/worth it to keep the deprecated types?

Copy link
Member

@dlon dlon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 8 of 8 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

Copy link
Contributor Author

@pronebird pronebird left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dlon personally I think it's not necessary to keep IrDA as I don't think there are any devices around that support infra red.

However note that the "bridge" interface was made private and I think it shows up in the list of interfaces. Perhaps introducing SCNetworkInterfaceType::Other(String) could be the way to go to enable parsing of unknown interfaces.

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants